package the_third_chapter;

public class Example {

	public static int calZhiShu() {
		int sum = 0;
		A1: for (int i = 2; i < 100; i++) {
			for (int j = 2; j < i; j++) {
				if (i % j == 0) {
					continue A1;
				}
			}
			sum = sum + i;
		}
		return sum;
	}

	public static void main(String[] args) {
		int res = calZhiShu();
		System.out.println("100以内的质数和为: " + res);
	}
}
